package Contest_reg;
import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import Team.TeamItem;

public interface Contest_regMapper {
	
	
	List<Contest_regItem> selectAll5();
	
	void insert(HashMap<String,Object> item);
	
	List<HashMap<String,Object>> selectApplydate();
	List<HashMap<String,Object>> selectEnddate();
	List<HashMap<String,Object>> selectIng();
	List<HashMap<String,Object>> selectReady();
	
	
	HashMap<String,Object> selectById(int id);
	List<HashMap<String,Object>> selectAll();
	List<HashMap<String,Object>> selectFinish();
	List<Contest_regItem> selectEnd();
	
	void deleteById(int id);
	void update(Contest_regItem item);
	List<Contest_regItem> selectApply(String id);
	Integer selectByConCount(@Param("contest_id") int contest_id, @Param("count") int count);
	List<HashMap<String,Object>> selectByContestId(int contest_id);
	
	int selectCount(@Param("tt") String tt);
	List<Contest_regItem> selectPage(@Param("pg") int pg,@Param("tt") String tt);
	
	Contest_regItem selectContestById(int contest_reg_id);
	List<HashMap<String,Object>> selectTeamById(int contets_reg_id);

}
